package Pojo;

public class Course {
    private Integer  id;
    private String cname;
    private String ctime;
    private String address;

    public Course() {
    }

    public Course(Integer id, String cname, String ctime, String address) {
        this.id = id;
        this.cname = cname;
        this.ctime = ctime;
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", cname='" + cname + '\'' +
                ", ctime='" + ctime + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
